package com.anti.modular.bus.billotherrevenues.service;

import com.anti.jdbc.support.page.PageParam;
import com.anti.jdbc.support.page.PageResult;
import com.anti.modular.bus.billotherrevenues.entity.BillOtherRevenues;
import com.anti.modular.bus.billotherrevenues.param.BillOtherRevenuesParam;
import com.anti.modular.bus.billotherrevenues.result.HjRes;

import java.util.List;

/**
 * 其他收支service接口
 *
 * @author anti
 * @date 2021-06-03 09:34:42
 */
public interface BillOtherRevenuesService{

    /**
    * 根据主键查询实体
    */
    BillOtherRevenues getById(BillOtherRevenuesParam billOtherRevenuesParam);

    /**
     * 查询其他收支
     *
     * @author anti
     * @date 2021-06-03 09:34:42
     */
    PageResult page(PageParam pageParam,BillOtherRevenuesParam billOtherRevenuesParam);

    /**
     * 其他收支列表
     *
     * @author anti
     * @date 2021-06-03 09:34:42
     */
    List<BillOtherRevenues> list(BillOtherRevenuesParam billOtherRevenuesParam);

    /**
     * 添加其他收支
     *
     * @author anti
     * @date 2021-06-03 09:34:42
     */
    void add(BillOtherRevenuesParam billOtherRevenuesParam);

    /**
     * 删除其他收支
     *
     * @author anti
     * @date 2021-06-03 09:34:42
     */
    void delete(Long id);

    /**
     * 编辑其他收支
     *
     * @author anti
     * @date 2021-06-03 09:34:42
     */
    void edit(BillOtherRevenuesParam billOtherRevenuesParam);

    void editDaoZhang(BillOtherRevenuesParam billOtherRevenuesParam);

    /**
     * 查看其他收支
     *
     * @author anti
     * @date 2021-06-03 09:34:42
     */
     BillOtherRevenues detail(BillOtherRevenuesParam billOtherRevenuesParam);

     BillOtherRevenues getLookDetail(Long id);

    HjRes getHjBySearchType(String searchType);

}
